package com.freight.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author huyingtai
 */
@Data
public class CompanyLicenseDto extends UserDto {

    //联系人信息
    @ApiModelProperty(value = "联系人 --- 电话")
    private String contactPhone;

    @ApiModelProperty(value = "联系人 --- 身份证号")
    private String contactNum;

    @ApiModelProperty(value = "联系人 --- 姓名")
    private String contactName;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyyMMdd")
    @DateTimeFormat(pattern = "yyyyMMdd")
    @ApiModelProperty(value = "联系人 --- 身份证结束日期")
    private Date contactEndDate;

    @ApiModelProperty(value = "联系人 --- 身份证前置照片地址")
    private String contactIdCardFontPicFileId;

    @ApiModelProperty(value = "联系人 --- 身份证后置照片地址")
    private String contactIdCardBackPicFileId;



    //企业信息
    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "注册电话")
    private String companyPhone;

    @ApiModelProperty(value = "法人姓名")
    private String companyUserName;

    @ApiModelProperty(value = "统一社账信用代码")
    private String certNo;

    @ApiModelProperty(value = "开户银行")
    private String bankName;

    @ApiModelProperty(value = "银行卡号")
    private String bankCode;

    @ApiModelProperty(value = "通讯地址")
    private String street;

    @ApiModelProperty(value = "公司营业执照图片地址")
    private String companyLicenseFileId;

    @ApiModelProperty(value = "公司类型")
    private String type;


}